package com.ktwlsoft.archivemanage.payload.annualReport;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.Date;

@ApiModel("年度报送查询")
@Getter
@Setter
public class AnnualReportQueryRequest {

    /**排序字段**/
    @ApiModelProperty("排序字段")
    private String field;

    /**排序方式**/
    @ApiModelProperty("排序方式")
    private String order;

    /**第几页**/
    @ApiModelProperty("第几页")
    @NotNull
    private Integer pn;

    /**每页记录条数**/
    @ApiModelProperty("每页记录条数")
    @NotNull
    private Integer pageSize;

    /**状态**/
    @ApiModelProperty("状态")
    private String state;

    /**报送人id**/
    @ApiModelProperty("报送人id")
    private Long writterId;

    /**报送年份**/
    @ApiModelProperty("报送年份")
    private Date writeDate;

    /**起始时间**/
    @ApiModelProperty("起始时间")
    private String beginDate;

    /**截止时间**/
    @ApiModelProperty("截止时间")
    private String endDate;

    /**立档单位名称**/
    @ApiModelProperty("立档单位名称")
    private String unitName;
}
